<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>更改密码</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">

    <link rel="icon" href="../img/web/web.ico"/>
    <link rel="stylesheet" href="../layui/css/layui.css"/>
    <link rel="stylesheet" href="../css/app.css"/>
<body ontouchstart="">

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">

        <div class="layui-col-md2">
            <div class="layui-card">
                <div class="layui-card-header">个人设置</div>
                <div class="layui-card-body layui-btn-container">
                    <button class="layui-btn layui-btn-fluid layui-btn-sm layui-btn-normal">简况</button>
                    <button class="layui-btn layui-btn-fluid layui-btn-sm layui-btn-normal">账户</button>
                    <button class="layui-btn layui-btn-fluid layui-btn-sm layui-btn-normal">邮件</button>
                    <button class="layui-btn layui-btn-fluid layui-btn-sm layui-btn-normal">通知</button>
                    <button class="layui-btn layui-btn-fluid layui-btn-sm layui-btn-normal">···</button>
                </div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">更改密码</div>
                <div class="layui-card-body layui-form">
                    <div class="layui-form-item">
                        <label class="layui-form-label">原密码</label>
                        <div class="layui-input-block">
                            <input type="password" name="oldPass" required  lay-verify="required" placeholder="请输入原密码" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">新密码</label>
                        <div class="layui-input-block">
                            <input type="password" name="newPass" required  lay-verify="required" placeholder="请输入新密码" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">再次输入</label>
                        <div class="layui-input-block">
                            <input type="password" name="conPass" required lay-verify="required" placeholder="请再次输入" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">确认</label>
                        <div class="layui-input-block">
                            <input type="checkbox" name="find" lay-skin="switch">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block">
                            <button class="layui-btn layui-btn-radius layui-btn-sm layui-btn-normal" type="button" lay-submit lay-filter="formSubmit">更改密码</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md4">
            <div class="layui-card">
                <div class="layui-card-header">头像</div>
                <div class="layui-card-body text-center">
                    <img src="../img/web/logo.png" alt="header-img"><hr>
                    <button class="layui-btn layui-btn-sm layui-btn-radius">更换</button>
                </div>
            </div>
        </div>

    </div>
</div>

<script type="text/javascript" src="../layui/layui.js"></script>
<script type="text/javascript">
    layui.use(['form','layer'], function(){
        var form = layui.form, layer = layui.layer;

        //监听提交
        form.on('submit(formSubmit)', function(data){
            layer.msg(JSON.stringify(data.field));
            return false;
        });
    });
</script>
</body>
</html>